/*
* Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Description:
* Author: huawei
* Create: 2022-8-15
*/
#ifndef TRS_TSCPU_SQ_H__
#define TRS_TSCPU_SQ_H__

#include <linux/types.h>
#include "trs_pub_def.h"

int trs_tscpu_sq_tail_update(struct trs_id_inst *inst, u32 sqid, u32 tail);
int trs_tscpu_get_sq_db_paddr(struct trs_id_inst *inst, u32 sqid, u64 *paddr);
int trs_tscpu_get_sq_tail(struct trs_id_inst *inst, u32 sqid, u32 *tail);

#endif /* TRS_TSCPU_SQ_H__ */
